from django.http import HttpResponse
from django.shortcuts import render #这是渲染模板用的
from django.template.loader import render_to_string
# Create your views here.

def index(request):
    # html = render_to_string('index.html')
    # return HttpResponse(html)
    return render(request,'index.html')

